﻿using System;
using System.Windows;

namespace Client {
    class CircleData {
        public bool IsRun { get; set; }
        private int taskCount;
        public int TaskCount {
            get { return taskCount; }
            set {
                taskCount = value;
                Console.WriteLine(taskCount);
                if (taskCount > 0) {
                    ShowRedPoint = Visibility.Visible;
                    IsRun = true;
                } else {
                    ShowRedPoint = Visibility.Hidden;
                    IsRun = false;
                }
            }
        }
        public Visibility ShowRedPoint { get; set; }
    }
}
